# Contributor: Andrew Hills <ahills@ednos.net>
# Contributor: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
# Maintainer: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
pkgname=zathura-pdf-poppler
pkgver=0.3.0
pkgrel=2
pkgdesc="Poppler plugin adds PDF support to zathura"
options="!check" # No testsuite
url="https://git.pwmt.org/pwmt/zathura-pdf-poppler"
arch="all"
license="Zlib"
depends="zathura"
makedepends="zathura-dev poppler-dev meson ninja"
source="https://git.pwmt.org/pwmt/zathura-pdf-poppler/-/archive/$pkgver/zathura-pdf-poppler-$pkgver.tar.gz"

build() {
	meson build \
		--prefix=/usr \
		--buildtype=plain
	ninja -C build
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="588c1d03fef2b0cbb44af6904ab078ae3686d79ce05b1448a41a62ac807226cade4b54725002f0c4bd9c428b192b607664da4bdc8d83c792fab250ef43622a85  zathura-pdf-poppler-0.3.0.tar.gz"
